*{
	margin: 0;
	padding: 0;
}
html,body,#app{
	height: 100%;
	max-width: 640px;
	margin: 0 auto;
	overflow:hidden;
}
body{
	font-family: '微软雅黑';
}

/*开始页面*/
#startPage{
	height: 100%;
	background: url(../img/bg.jpg) repeat-y 0 top;
	-webkit-background-size: 100% auto;
	background-size: 100% auto;
	position: relative;
}
#gamePage{
	height: 100%;
	background: url(../img/bg1.jpg) repeat-y 0 top;
	-webkit-background-size: 100% auto;
	background-size: 100% auto;
	position: relative;
	padding-top:.6rem;
	box-sizing: border-box;
}
#startBanner{
	width:100%;
	height: 3.69rem;
	position: absolute;
	left:0;
	top:.23rem;
	background: url(../img/banner.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
#startBtn{
	width:4.8rem;
	height: 1.28rem;
	position: absolute;
	left:0;
	right:0;
	top:9.48rem;
	margin: auto;
}
.linkBox{
	display: flex;
	display: -webkit-flex;
	justify-content: center;
	width:100%;
	height: .76rem;
	position: absolute;
	left:0;
	bottom: 0;
}
.linkBox::after{
	content:'';
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	margin: auto;
	width:1px;
	height: .3rem;
	background: #000000;
}
.linkBox .linkItem{
	width:1.9rem;
	height: .76rem;
	line-height: .76rem;
	font-size: .28rem;
	color:#000000;
	text-align: center;
}
#questionBox{
	width:100%;
	height: 3.26rem;
	background: url(../img/questionbox.png);
	-webkit-background-size: 100% auto;
	background-size: 100% auto;
	box-sizing: border-box;
	padding:.7rem 1.17rem;
	font-size: .35rem;
	color: #000000;
	line-height: .5rem;
}
#answer-box{
	padding:.9rem .8rem .62rem;
}
.answer-item{
	height: 1.06rem;
	line-height: .87rem;
	background-image: url(../img/answer.png);
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
	margin-bottom: .18rem;
	padding-left: .58rem;
	list-style: none;
	font-size: .36rem;
	font-family: '微软雅黑';
	letter-spacing: 1px;
}
.answer-item.active{
	background-image: url(../img/answer_a.png);
}
#answer-box .answer-item:nth-child(1):before{
	content:'A.';
	font-size: .45rem;
	color:#000000;
	margin-right: .45rem;
	position: relative;
	top:2px;
}
#answer-box .answer-item:nth-child(2):before{
	content:'B.';
	font-size: .45rem;
	color:#000000;
	margin-right: .45rem;
	position: relative;
	top:2px;
}
#answer-box .answer-item:nth-child(3):before{
	content:'C.';
	font-size: .45rem;
	color:#000000;
	margin-right: .45rem;
	position: relative;
	top:2px;
}
#answer-box .answer-item:nth-child(4):before{
	content:'D.';
	font-size: .45rem;
	color:#000000;
	margin-right: .45rem;
	position: relative;
	top:2px;
}
#sucessPage,#failPage{
	position: absolute;
	top:0;
	left:0;
	background: rgba(0,0,0,.6);
	width:100%;
	height: 100%;
	z-index: 59;
}
#successbox{
	width: 5.46rem;
	height: 7.05rem;
	position: absolute;
	left:0;
	top:1rem;
	right:0;
	margin: auto;
	background: url(../img/success.png);
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
}
.btn{
	width:3.2rem;
	height: .93rem;
	position: absolute;
	left:0;
	right:0;
	margin: auto;
}
.friend{
	bottom: 1.06rem;
}
.lottery{
	bottom:2.19rem;
}
#failbox{
	width: 5.46rem;
	height: 7.05rem;
	position: absolute;
	left:0;
	top:1.4rem;
	right:0;
	margin: auto;
	background: url(../img/fail.png);
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
}
.failAgain{
	bottom: 2.19rem;
}
.failfriend{
	bottom: 1.06rem;
}
#next-btn{
	width:3.4rem;
	height: .93rem;
	background: url(../img/nextbtn.png);
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
	margin: 0 auto;
}
.total-score{
	color: #fd4606;
	font-size: .45rem;
	text-align: center;
	padding-top: 2rem;
	font-family: '微软雅黑';
}
.total-score span{
	margin-right: 2px;
}